home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 15930 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.3 KB

  1. Path: ni1.ni.net!andy
  2. From: andyc@procom.com (Andy Ho-Fan Chan)
  3. Newsgroups: comp.lang.c++,rec.games.programmer,alt.msdos.programmer,comp.programming
  4. Subject: Re: Young programmers read me.
  5. Date: Mon, 08 Apr 96 22:03:28 GMT
  6. Organization: Procom Technology, Inc.
  7. Message-ID: <4kc2qa$6os@ni1.ni.net>
  8. References: <4icpp9$7hr@barad-dur.nas.com> <4imqe4$cj3@ping1.ping.be> <1996Mar23.224853.116513@kuhub.cc.ukans.edu> <4j52hn$ikb@news.ios.com> <Pine.OSF.3.91.960403112207.17337H-100000@bud.cc.swin.edu.au> <aidan-0404961557290001@meathook.intac.com> <3165AD94.6F3A@datalytics.com> <j-jahnke-0604960016160001@ntcs-ip8.uchicago.edu>
  9. NNTP-Posting-Host: andy.procom.com
  10. X-Newsreader: News Xpress 2.0 Beta #0
  11.  
  12. In article <j-jahnke-0604960016160001@ntcs-ip8.uchicago.edu>, j-jahnke@uchicago.edu (Jerome Jahnke) wrote:
  13.  
  14. >> You may not like the symbols used in C++, but I like the code 
  15. >> compression they provide.  Typing '{' is much faster than typing 
  16. >> 'BEGIN.'  Readability is subjective; Greek is not readable until 
  17. >> you know the language.
  18. >
  19. >I have to disagree here, C and C++ rely quite a bit on style. I personally
  20. >can't read some styles on C and C++ the guys that put the starting brace
  21. >on the same line as a conditional or a loop drive me batty and I need to
  22. >use CDent to change the code just so I can read it. This coupled with the
  23. >rampant use of preprocessor macros makes life tough for folks reading
  24. >code.
  25. >
  26. >And if you think about it, it is a lot easier to find a BEGIN and END in a
  27. >chunk of code than a { and }. They are just bigger and easier to spot.
  28. >Which is why many code editors color the code so you can find things like
  29. >braces and what nots.
  30.  
  31. Well, I like the '{' and '}' so much since it needs least typing.  Also, it 
  32. can fasten the compile time too.
  33.  
  34.  
  35. ===========================================================================
  36. ===   Andy Ho-Fan Chan              Procom Technology, Inc.             ===
  37. ===   Tel.: (714)852-1000x484       Software Engineering Department     ===
  38. ===   Fax : (714)852-1221           2181 Dupont Drive, Irvine, CA 92715 ===
  39. ===                                                                     ===
  40. ===     Personal Homepage: http://www.procom.com:80/~andyc/index.htm    ===
  41. ===========================================================================
  42.